package io.iec.edp.caf.rpc.api.spi;

import io.iec.edp.caf.rpc.api.entity.RpcContext;

/**
 * 默认的Transmitter没有任何实际逻辑
 */
public class DefaultRpcContextTransmitter implements RpcContextTransmittee{
    @Override
    public String identify() {
        return "caf-default";
    }

    @Override
    public RpcContext capture() {
        return RpcContext.getInstance();
    }

    @Override
    public void replay(RpcContext newContext) {

    }

    @Override
    public void restore(RpcContext newContext) {

    }
}
